<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>用户分组</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="description" content="用户分组">
	<link rel="shortcut icon" href="<%=basePath%>favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" type="text/css" href="<%=basePath%>style/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>style/themes/icon.css">
	<script type="text/javascript" src="<%=basePath%>javascript/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/pub.js"></script>
	<script type="text/javascript" src="<%=basePath%>pages/user/js/userGroup.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/locale/easyui-lang-zh_CN.js"></script>
	<script type="text/javascript" src="<%=basePath%>javascript/easyui_pub.js"></script>
	<script>window.onerror=hide_error_message;function hide_error_message(){return true;}</script>
	
	<style>
		body,html{
			padding:0;
			margin:0;
			height:100%;
		}  
		
		#layout{
			height: 100%;
			width:100%;
			border-top: none;
			border-bottom: none;
		}
   </style>		
  </head>
  <body>
  <div class="easyui-layout" fit="true" id="layout" cellspacing="10"> 
  <div region="center" border="false" style="width: 100%; height: 100%;" cellspacing="10"  onselectstart="return false" onmouseover="showScroll(event,this)" onmouseout="hideScroll()">    
  <div id="grid">
  </div>
<!-- 增加 -->
		<div style="display: none; padding: 20px;" id="addDig">
			<form method="post" id="addForm" name="addForm">
				<table align="center" cellspacing="5" style="line-height: 25px;font-size:14px;">
					<tr>
	                <td height="25" align="right" bgcolor="#FFFFFF">编码</td>
	                <td bgcolor="#FFFFFF"><input id="addcode" name="F_CODE" 
	                 required="true" missingMessage="必填" maxlength="50" class="easyui-validatebox"/><font style="color:#FF0000">*</font></td>
	            </tr>  
	          	<tr>
	                 <td height="25" align="right" bgcolor="#FFFFFF">名称</td>
	                 <td bgcolor="#FFFFFF"><input id="addname" name="F_NAME" validType=checkEmptyName[] 
	                 required="true" missingMessage="必填" maxlength="200" class="easyui-validatebox"/><font style="color:#FF0000">*</font></td>
	            </tr>
  	            <tr>
	                 <td height="25" align="right" bgcolor="#FFFFFF">备注</td>
	                 <td bgcolor="#FFFFFF"><input id="addmemo" name="F_MEMO"  
	                 maxlength="200" class="easyui-validatebox"/></td>
	            </tr>	                    	            	       
				</table>
				<input id="addLASTTIME" name="F_LASTTIME" style="display: none;" type="hidden">
			</form>
		</div>
<div style="display: none; padding: 20px;" id="updateDig">
			<form method="post" id="updateForm" name="updateForm">
				<table align="center" cellspacing="5" style="line-height: 25px;font-size:14px;">
					<tr>
	                <td height="25" align="right" bgcolor="#FFFFFF">编码</td>
	                <td bgcolor="#FFFFFF"><input id="txtcode" name="F_CODE"
	                 maxlength="50" required="true" missingMessage="必填" class="easyui-validatebox"/><font style="color:#FF0000">*</font></td>
	            </tr>  
	          	<tr>
	                 <td height="25" align="right" bgcolor="#FFFFFF">名称</td>
	                 <td bgcolor="#FFFFFF"><input id="txtname" name="F_NAME" maxlength="200" validType=checkEmptyName[]
	                  required="true" missingMessage="必填" class="easyui-validatebox"/><font style="color:#FF0000">*</font></td>
	            </tr>
   	            <tr>
	                 <td height="25" align="right" bgcolor="#FFFFFF">备注</td>
	                 <td bgcolor="#FFFFFF"><input id="txtmemo" name="F_MEMO" 
	                 maxlength="200" class="easyui-validatebox"/></td>
	            </tr>	            	            	       
				</table>
				<input id="txtid" name="F_ID" style="display: none;" type="hidden">
				<input id="txtLASTTIME" name="F_LASTTIME" style="display: none;" type="hidden">
			</form>
		</div>
		
		<!--删除 -->
		<form id="deleteForm" name="deleteForm" method="post" style="display: none;">
			<input name="F_ID" id="delId" type="hidden" />
		</form>	
		</div>
  </body>
</html>
